package com.ruoyi.order.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.awt.geom.RoundRectangle2D;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class TrafficChargeExportVO {

    private String companyName;

    private Date createTimeStart;

    private Date createTimeEnd;

    /**
     * 填报人签名
     */
    private String informant;

    private List<Second> secondList;

    private List<Business> businessDataList;

    public static class Second {

        private String name;

        private List<First> firstList;

        private List<Business> businessList;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<First> getFirstList() {
            return firstList;
        }

        public void setFirstList(List<First> firstList) {
            this.firstList = firstList;
        }

        public List<Business> getBusinessList() {
            return businessList;
        }

        public void setBusinessList(List<Business> businessList) {
            this.businessList = businessList;
        }

        public static class First {

            private String name;

            private List<Business> businessList;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<Business> getBusinessList() {
                return businessList;
            }

            public void setBusinessList(List<Business> businessList) {
                this.businessList = businessList;
            }
        }

    }

    public static class Business {

        private String name;

        /**
         * 批次
         */
        private Integer totalOrderQuantity;

        /**
         * 货物量
         */
        private Double totalGoodsQuantity;

        /**
         * 金额
         */
        private Double amount;

        private Map<String, BigDecimal> processQuantityMap;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getTotalOrderQuantity() {
            return totalOrderQuantity;
        }

        public void setTotalOrderQuantity(Integer totalOrderQuantity) {
            this.totalOrderQuantity = totalOrderQuantity;
        }

        public Double getTotalGoodsQuantity() {
            return totalGoodsQuantity;
        }

        public void setTotalGoodsQuantity(Double totalGoodsQuantity) {
            this.totalGoodsQuantity = totalGoodsQuantity;
        }

        public Double getAmount() {
            return amount;
        }

        public void setAmount(Double amount) {
            this.amount = amount;
        }

        public Map<String, BigDecimal> getProcessQuantityMap() {
            return processQuantityMap;
        }

        public void setProcessQuantityMap(Map<String, BigDecimal> processQuantityMap) {
            this.processQuantityMap = processQuantityMap;
        }
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public String getInformant() {
        return informant;
    }

    public void setInformant(String informant) {
        this.informant = informant;
    }

    public List<Second> getSecondList() {
        return secondList;
    }

    public void setSecondList(List<Second> secondList) {
        this.secondList = secondList;
    }

    public List<Business> getBusinessDataList() {
        return businessDataList;
    }

    public void setBusinessDataList(List<Business> businessDataList) {
        this.businessDataList = businessDataList;
    }
}
